package com.ruoyi.bus.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 更改司机记录表对象 wit_change_driver
 * 
 * @author caiyanshan
 * @date 2021-07-27
 */
public class WitChangeDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long recordId;

    /** 新司机ID */
    @Excel(name = "新司机ID")
    private Long newUserId;

    /** 新司机名称 */
    @Excel(name = "新司机名称")
    private String newUserName;

    /** 路线ID */
    @Excel(name = "路线ID")
    private Long routeId;

    /** 路线名称 */
    @Excel(name = "路线名称")
    private String routeName;

    /** 原司机ID */
    @Excel(name = "原司机ID")
    private Long oldUserId;

    /** 原司机名称 */
    @Excel(name = "原司机名称")
    private String oldUserName;

    private Integer changeStatus;

    private String driveTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date gotoTime;
    
    private Long userId;
    
    private String userName;

    private Long planId;

    private Integer changeBus;

    public Integer getChangeBus() {
        return changeBus;
    }

    public void setChangeBus(Integer changeBus) {
        this.changeBus = changeBus;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Integer getChangeStatus() {
        return changeStatus;
    }

    public void setChangeStatus(Integer changeStatus) {
        this.changeStatus = changeStatus;
    }

    public String getDriveTime() {
        return driveTime;
    }

    public void setDriveTime(String driveTime) {
        this.driveTime = driveTime;
    }

    public Date getGotoTime() {
        return gotoTime;
    }

    public void setGotoTime(Date gotoTime) {
        this.gotoTime = gotoTime;
    }

    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setNewUserId(Long newUserId) 
    {
        this.newUserId = newUserId;
    }

    public Long getNewUserId() 
    {
        return newUserId;
    }
    public void setNewUserName(String newUserName)
    {
        this.newUserName = newUserName;
    }

    public String getNewUserName()
    {
        return newUserName;
    }
    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }
    public void setRouteName(String routeName) 
    {
        this.routeName = routeName;
    }

    public String getRouteName() 
    {
        return routeName;
    }
    public void setOldUserId(Long oldUserId) 
    {
        this.oldUserId = oldUserId;
    }

    public Long getOldUserId() 
    {
        return oldUserId;
    }
    public void setOldUserName(String oldUserName) 
    {
        this.oldUserName = oldUserName;
    }

    public String getOldUserName() 
    {
        return oldUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("newUserId", getNewUserId())
            .append("newUserName", getNewUserName())
            .append("routeId", getRouteId())
            .append("routeName", getRouteName())
            .append("oldUserId", getOldUserId())
            .append("oldUserName", getOldUserName())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
